package main.java.string;

/*
    测试 StringBuilder 修改字符串的性能
 */
public class StringBuilderDemo2 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("a");
        for (int i = 0; i < 1000000; i++) {
            sb.append("b");
        }
        System.out.println("执行完毕");
    }
}
